{% include "header.html" %}
	<div id="statuses">
		<h2>随便看看</h2>
		<div class="clear"></div>
			{% if not statuses %}
				<div id="empty">此页无消息</div>
			{% else %}
				<ol class="timeline" id="allTimeline">
					{% for status in statuses %}
					<li>
						<span class="status_author">
							<a href="{{link_prefix}}{{status.screen_name}}" target="_blank"><img src="{{status.profile_img_url}}" title="{{status.screen_name}}" /></a>
						</span>
						<span class="status_body">
							<span class="status_word"><a class="user_name" href="{{link_prefix}}{{status.screen_name}}">{{status.screen_name}}</a> {{status.text}} </span>
							<span class="status_info">
								<span class="source">通过{{ status.source}}</span>
								<span class="date"><a href="https://twitter.com/{{status.screen_name}}/status/{{status.id}}" target="_blank">{{status.created_at}}</a></span>
						    </span>
						</span>
					</li>
					
					{% endfor %}
				</ol>
			{% endif %}
		<div id="pagination">
			<form method="get" action="/browse" id="page_form">
				<input type="text" id="page_form_text" name="page" />
				<input type="submit" id="page_form_submit" value="go" />
			</form>
			{% if first %}
			<a href="/browse?page={{prepage}}">上一页</a>
			{% endif %}
			{% if statuses %}
			<a href="/browse?page={{nextpage}}">下一页</a>
			{% endif %}
		</div>
	</div>
	<div class="clear"></div>
{% include "footer.html" %}
